Total Complexity | 39 |
Dependencies | 8 |
Dependents | 1 |
Total lines | 322 |
Lines of code | 165 |
Logical lines of code | 75 |
Comment lines | 111 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_speed_score_response() | 50 | 11 | 26 | |
fetch_speed_score() | 51 | 11 | 26 | |
maybe_dispatch_no_boost_score_request() | 56 | 5 | 17 | |
register_rest_routes() | 49 | 1 | 39 | |
process_url_arg() | 60 | 2 | 14 | |
dispatch_speed_score_request() | 61 | 2 | 12 | |
__construct() | 66 | 1 | 8 | |
dispatch_speed_score_graph_history_request() | 74 | 1 | 4 | |
allow_jb_disable_module() | 72 | 1 | 5 | |
get_score_request_by_url() | 75 | 1 | 5 | |
get_boost_modules_disabled_url() | 79 | 1 | 3 | |
can_access_speed_scores() | 80 | 1 | 3 | |
clear_speed_score_request_cache() | 82 | 1 | 3 |